import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
// 引入element-plus

import 'default-passive-events'

import '@/assets/css/global.css'

// 引用地区选择器distpicker插件
import vdistpicker from 'v-distpicker'

const app = createApp(App)

// 注册全局地区选择器distpicker组件
app.component('v-distpicker', vdistpicker)

app.use(ElementPlus)
app.use(store)

app.use(router).mount('#app')
